<?php get_header(); ?>

	<div id="content" class="narrowcolumn">

		<div class="widget" id="latest-news">
			<h2 class="widgettitle">News</h2>

			<?php if (have_posts()) : ?>
		
				<h3 class="pagetitle">Zoek Resultaten</h3>

				<div class="navigation">
					<div class="alignleft"><?php next_posts_link('&laquo; Vorige Posts') ?></div>
					<div class="alignright"><?php previous_posts_link('Volgende Posts &raquo;') ?></div>
				</div>

				<?php while (have_posts()) : the_post(); ?>

					<div class="post">
						<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanente Link naar <?php the_title(); ?>"><?php the_title(); ?></a></h3>
						<small><?php the_time('l, j F Y') ?></small>

						<p class="postmetadata">Gepost in <?php the_category(', ') ?> | <?php edit_post_link('Wijzigen', '', ' | '); ?>  <?php comments_popup_link('Geen Reacties &#187;', '1 Reactie &#187;', '% Reacties &#187;'); ?></p>
					</div>

				<?php endwhile; ?>

				<div class="navigation">
					<div class="alignleft"><?php next_posts_link('&laquo; Vorige Posts') ?></div>
					<div class="alignright"><?php previous_posts_link('Volgende Posts &raquo;') ?></div>
				</div>

			<?php else : ?>

				<h2 class="center">Geen posts gevonden, wil je nieuwe zoektermen vinden?</h2>
				<?php include (TEMPLATEPATH . '/searchform.php'); ?>

			<?php endif; ?>

		</div>
		
	</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
